package com.dgut.sales.bean;

import java.util.List;

public class Details {
	private Integer id;
	private Integer contractId;
	private Integer goodsId;
	private Integer shopNum;
	private Integer states;
	private List<Goods> goods;
	
	public Details() {
		super();
	}
	
	public Details(Integer id, Integer contractId, Integer goodsId, Integer shopNum, Integer states, List<Goods> goods) {
		super();
		this.id = id;
		this.contractId = contractId;
		this.goodsId = goodsId;
		this.shopNum = shopNum;
		this.states = states;
		this.goods = goods;
	}


	public List<Goods> getGoods() {
		return goods;
	}

	public void setGoods(List<Goods> goods) {
		this.goods = goods;
	}

	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getContractId() {
		return contractId;
	}
	public void setContractId(Integer contractId) {
		this.contractId = contractId;
	}
	public Integer getGoodsId() {
		return goodsId;
	}
	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}
	public Integer getShopNum() {
		return shopNum;
	}
	public void setShopNum(Integer shopNum) {
		this.shopNum = shopNum;
	}

	public Integer getStates() {
		return states;
	}

	public void setStates(Integer states) {
		this.states = states;
	}

	@Override
	public String toString() {
		return "Details [id=" + id + ", contractId=" + contractId + ", goodsId=" + goodsId + ", shopNum=" + shopNum
				+ ", states=" + states + ", goods=" + goods + "]";
	}

	


}
